    package com.ftwj.entity;

    import com.fasterxml.jackson.annotation.JsonFormat;
    import lombok.Data;

    import java.util.Date;

    @Data
    public class SchoolRoomSeatInfo {
        private String id;
        //场所id
        private String placeId;
        //教室id
        private String roomId;
        //座位编号
        private String code;
        //座位名称
        private String name;
        //座位地址
        private String address;
        //座位状态(0:不可用，1:可用)
        private Integer openState;
        //二维码路径
        private String qrCodePath;
        //二维码内容
        private String qrCodeValue;
        //创建时间
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date createTime;
        //更新时间
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date updateTime;
        //状态(-1删除，1正常)
        private Integer state;
        //座位状态(1:已预约,2:使用中,3:已释放)
        private Integer appointmentState = 3;
    }
